﻿using PetAdoptApi.Entity;
using PetAdoptionShared.Dto;

namespace PetAdoptApi.Extensions;

public static class Mappers
{
    public static PetDetailDto MapToPetDetailDto(this Pet p) =>
        new PetDetailDto
        {
           Id = p.Id,
           Breed = p.Breed,
           DateOfBirth = new DateTime(),
           Description = p.Description,
           Price = p.Price,
           Name = p.Name,
           Image = p.Image,
           IsFavorite = false,
        };
}
